package com.tangkeyon.service;

import com.github.pagehelper.PageInfo;
import com.tangkeyon.common.ResponseCode;
import com.tangkeyon.pojo.Shipping;

/**
 * @Author: tangkeyon@gmail.com
 * @Date: 2019/6/13 20:22
 * @Version 1.0
 */
public interface IShippingService {
    ResponseCode add(Integer userId, Shipping shipping);
    ResponseCode del(Integer userId,Integer shippingId);
    ResponseCode update(Integer userId,Shipping shipping);
    ResponseCode<PageInfo> list(Integer userId, Integer pageSize, Integer pageNum);
    ResponseCode select(Integer userId,Integer shippingId);
}
